package com.ruoyi.system.domain.process;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加工异常对象 process_abnormal
 * 
 * @author ljx
 * @date 2020-07-06
 */
public class ProcessAbnormal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 加工库存表id */
    @Excel(name = "加工库存表id")
    private Long inventoryId;

    /** 发现班次 */
    @Excel(name = "发现班次")
    private String findNumber;

    /** 发现人 */
    @Excel(name = "发现人")
    private String discoverer;

    /** 发现时间 */
    @Excel(name = "发现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date findDate;

    /** 异常原因 */
    @Excel(name = "异常原因")
    private String reason;

    /** 质量图片反馈url */
    @Excel(name = "质量图片反馈url")
    private String imageUrl;

    /** 质量视频反馈url */
    @Excel(name = "质量视频反馈url")
    private String videoUrl;

    private String factoryName;
    private String number;
    private String materialsName;

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryId(Long inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId() 
    {
        return inventoryId;
    }
    public void setFindNumber(String findNumber) 
    {
        this.findNumber = findNumber;
    }

    public String getFindNumber() 
    {
        return findNumber;
    }
    public void setDiscoverer(String discoverer) 
    {
        this.discoverer = discoverer;
    }

    public String getDiscoverer() 
    {
        return discoverer;
    }
    public void setFindDate(Date findDate) 
    {
        this.findDate = findDate;
    }

    public Date getFindDate() 
    {
        return findDate;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryId", getInventoryId())
            .append("findNumber", getFindNumber())
            .append("discoverer", getDiscoverer())
            .append("findDate", getFindDate())
            .append("reason", getReason())
            .append("remark", getRemark())
            .append("imageUrl", getImageUrl())
            .append("videoUrl", getVideoUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
